package jgl.vajra.management.part.mine.contract;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.management.bean.NicknamePageBean;
import jgl.vajra.management.databinding.ActivityNicknamePageBinding;
import jgl.vajra.management.widget.mvvm.model.BaseModel;
import jgl.vajra.management.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.management.widget.mvvm.viewmodel.BaseViewModel;

public class NicknamePageContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<List<NicknamePageBean>> getNicknameData(Map<String, Object> map);

        public abstract Observable<Object> modifyInformation(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onDetermine();

        void returnNicknamePageData(List<NicknamePageBean> data);

        void returnModifyInformationData();
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityNicknamePageBinding, Model> {

        public abstract void getNicknameData(Map<String, Object> map);

        public abstract void modifyInformation(Map<String, Object> map);
    }
}
